<!doctype html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>探望记录</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- favicon
		============================================ -->
    <link rel="shortcut icon" type="image/x-icon" th:href="@{/img/favicon.ico}">
    <!-- Google Fonts
		============================================ -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900" rel="stylesheet">
    <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/font-awesome.min.css}">
    <!-- owl.carousel CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/owl.carousel.css}">
    <link rel="stylesheet" th:href="@{/css/owl.theme.css}">
    <link rel="stylesheet" th:href="@{/css/owl.transitions.css}">
    <!-- animate CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/animate.css}">
    <!-- normalize CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/normalize.css}">
    <!-- meanmenu icon CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/meanmenu.min.css}">
    <!-- main CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/main.css}">
    <!-- educate icon CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/educate-custon-icon.css}">
    <!-- morrisjs CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/morrisjs/morris.css}">
    <!-- mCustomScrollbar CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/scrollbar/jquery.mCustomScrollbar.min.css}">
    <!-- metisMenu CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/metisMenu/metisMenu.min.css}">
    <link rel="stylesheet" th:href="@{/css/metisMenu/metisMenu-vertical.css}">
    <!-- calendar CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/calendar/fullcalendar.min.css}">
    <link rel="stylesheet" th:href="@{/css/calendar/fullcalendar.print.min.css}">
    <!-- x-editor CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/editor/select2.css}">
    <link rel="stylesheet" th:href="@{/css/editor/datetimepicker.css}">
    <link rel="stylesheet" th:href="@{/css/editor/bootstrap-editable.css}">
    <link rel="stylesheet" th:href="@{/css/editor/x-editor-style.css}">
    <!-- normalize CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/data-table/bootstrap-table.css}">
    <link rel="stylesheet" th:href="@{/css/data-table/bootstrap-editable.css}">
    <!-- style CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/style.css}">
    <!-- responsive CSS
		============================================ -->
    <link rel="stylesheet" th:href="@{/css/responsive.css}">
    <!-- modernizr JS
		============================================ -->
    <script th:src="@{/js/vendor/modernizr-2.8.3.min.js}"></script>
</head>

<body>
    <!--[if lt IE 8]>
		<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
	<![endif]-->
    <!-- Start Left menu area -->
    <div th:insert="~{sideBar::sideBar}"></div>
    <!-- End Left menu area -->
    <!-- Start Welcome area -->
    <div class="all-content-wrapper">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="logo-pro">
                        <a href="index.html"><img class="main-logo" th:src="@{/img/logo/logo.png}" alt="" /></a>
                    </div>
                </div>
            </div>
        </div>
        <div th:insert="~{top::topBar}"></div>
        <!-- Static Table Start -->
        <div class="data-table-area mg-b-15">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                        <div class="sparkline13-list">
                            <div class="sparkline13-hd">
                                <div class="main-sparkline13-hd">
                                    <h1>探望记录</h1>
                                </div>
                            </div>
                            <div class="sparkline13-graph">
                                <div class="datatable-dashv1-list custom-datatable-overright">
                                    <table id="table" data-toggle="table" data-pagination="true" data-search="true" data-show-columns="true" data-show-pagination-switch="true" data-show-refresh="true" data-key-events="true" data-show-toggle="true" data-resizable="true" data-cookie="true"
                                        data-cookie-id-table="saveId" data-show-export="true" data-click-to-select="true" data-toolbar="#toolbar">
                                        <thead>
                                            <tr>
                                                <th data-field="id">ID</th>
                                                <th data-editable="true">姓名</th>
                                                <th data-field="name" data-editable="true">探访</th>
                                                <th data-field="phone" data-editable="true">联系</th>
                                                <th data-field="date" data-editable="true">时间</th>
<!--                                                <th data-field="date" data-editable="true">Date</th>-->
<!--                                                <th data-field="price" data-editable="true">Price</th>-->
<!--                                                <th data-field="action">Action</th>-->
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr th:each="record:${records}">
                                                <td th:text="${record.getId()}"></td>
                                                <td th:text="${record.getVisitor()}"></td>
                                                <td th:text="${record.getClientName()}"></td>
                                                <td th:text="${record.getVisitorPhone()}"></td>
                                                <td th:text="${record.getTime()}"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <!-- jquery
		============================================ -->
    <script th:src="@{/js/vendor/jquery-1.12.4.min.js}"></script>
    <!-- bootstrap JS
		============================================ -->
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <!-- wow JS
		============================================ -->
    <script th:src="@{/js/wow.min.js}"></script>
    <!-- price-slider JS
		============================================ -->
    <script th:src="@{/js/jquery-price-slider.js}"></script>
    <!-- meanmenu JS
		============================================ -->
    <script th:src="@{/js/jquery.meanmenu.js}"></script>
    <!-- owl.carousel JS
		============================================ -->
    <script th:src="@{/js/owl.carousel.min.js}"></script>
    <!-- sticky JS
		============================================ -->
    <script th:src="@{/js/jquery.sticky.js}"></script>
    <!-- scrollUp JS
		============================================ -->
    <script th:src="@{/js/jquery.scrollUp.min.js}"></script>
    <!-- mCustomScrollbar JS
		============================================ -->
    <script th:src="@{/js/scrollbar/jquery.mCustomScrollbar.concat.min.js}"></script>
    <script th:src="@{/js/scrollbar/mCustomScrollbar-active.js}"></script>
    <!-- metisMenu JS
		============================================ -->
    <script th:src="@{/js/metisMenu/metisMenu.min.js}"></script>
    <script th:src="@{/js/metisMenu/metisMenu-active.js}"></script>
    <!-- data table JS
		============================================ -->
    <script th:src="@{/js/data-table/bootstrap-table.js}"></script>
    <script th:src="@{/js/data-table/tableExport.js}"></script>
    <script th:src="@{/js/data-table/data-table-active.js}"></script>
    <script th:src="@{/js/data-table/bootstrap-table-editable.js}"></script>
    <script th:src="@{/js/data-table/bootstrap-editable.js}"></script>
    <script th:src="@{/js/data-table/bootstrap-table-resizable.js}"></script>
    <script th:src="@{/js/data-table/colResizable-1.5.source.js}"></script>
    <script th:src="@{/js/data-table/bootstrap-table-export.js}"></script>
    <!--  editable JS
		============================================ -->
    <script th:src="@{/js/editable/jquery.mockjax.js}"></script>
    <script th:src="@{/js/editable/mock-active.js}"></script>
    <script th:src="@{/js/editable/select2.js}"></script>
    <script th:src="@{/js/editable/moment.min.js}"></script>
    <script th:src="@{/js/editable/bootstrap-datetimepicker.js}"></script>
    <script th:src="@{/js/editable/bootstrap-editable.js}"></script>
    <script th:src="@{/js/editable/xediable-active.js}"></script>
    <!-- Chart JS
		============================================ -->
    <script th:src="@{/js/chart/jquery.peity.min.js}"></script>
    <script th:src="@{/js/peity/peity-active.js}"></script>
    <!-- tab JS
		============================================ -->
    <script th:src="@{/js/tab.js}"></script>
    <!-- plugins JS
		============================================ -->
    <script th:src="@{/js/plugins.js}"></script>
    <!-- main JS
		============================================ -->
    <script th:src="@{/js/main.js}"></script>
    <script th:src="@{/js/myjs/reload.js}"></script>

    <!-- tawk chat JS
		============================================ -->
<!--    <script th:src="@{/js/tawk-chat.js}"></script>-->
</body>

</html>